package com.EpidemicPrevention.mapper;

import com.EpidemicPrevention.pojo.Volunteerinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface VolunteerinfoMapper {
    int  addVolunteerinfo(Volunteerinfo volunteerinfo);

    List<Volunteerinfo> queryVolunteerinfo(@Param("page") int page, @Param("limit") int limit,
                                            @Param("Keyword")String Keyword);

    List<Volunteerinfo> selectVolunteerinfo(@Param("v_id")int v_id);

    List<Volunteerinfo> selectWhereVolunteerinfo();

    int updateVolunteerinfo(Volunteerinfo volunteerinfo);

    int deleteVolunteerinfo(@Param("v_id") int v_id);



}
